public interface Alarm
Modifier and Type | Field and Description |
---|---|
static int |
ALERTS
The application will continue working on the tasks but all functions may not be operational
(one or more devices in the list are not accessible but others in the list can be accessed)
Syslog severity level = 1 |
static int |
CRITICAL
A critical failure, the application can not accomplish the tasks required due to this
failure, eg: the app can't open the database to read the device list
Syslog severity level = 2 |
static int |
DEBUGGING
Very detailed information regarding errors or processing status that is only generated when
DEBUG mode has been enabled
Syslog severity level = 7 |
static int |
EMERGENCIES
Emergency situation, a system shutdown is necessary
Syslog severity level = 0 |
static int |
ERROR
An error condition of some kind has occurred and the user needs to understand the nature of
that failure
Syslog severity level = 3 |
static int |
HIGHEST_LEVEL
The highest trace level, currently this is DEBUGGING with a trace level of 7
|
static int |
INFORMATIONAL
Information of some form not relating to errors, warnings, audit, or debug
Syslog severity level =6 |
static int |
LOWEST_LEVEL
The lowest trace level, currently this is EMERGENCIES with a trace level of 0
|
static int |
NO_SEVERITY
Applications can set this level to generate Alarms without a severity.
|
static int |
NOTIFICATION
Notification denotes a normal but significant condition
Syslog severity level = 5 |
static java.lang.String |
UNKNOWN_MNEMONIC
String used when a mnemonic is not specifed during an Alarm send
|
static int |
WARNING
Warning that a problem of some form exists but is not keeping the application from completing
its tasks
Syslog severity level = 4 |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFacility() |
int |
getSeverity() |
java.lang.String |
getSubFacility() |
void |
send(java.lang.String mnemonic)
send the Alarm with the specified mnemonic.
|
void |
send(java.lang.String mnemonic,
ParameterList parameterList)
send an Alarm with the specified mnemonic and supplied parameter list
|
void |
send(java.lang.String mnemonic,
java.lang.String parameterName,
java.lang.String parameterValue)
send an Alarm with the specified mnemonic and with one parameter
|
static final int NO_SEVERITY
static final int DEBUGGING
static final int INFORMATIONAL
static final int NOTIFICATION
static final int WARNING
static final int ERROR
static final int CRITICAL
static final int ALERTS
static final int EMERGENCIES
static final int LOWEST_LEVEL
static final int HIGHEST_LEVEL
static final java.lang.String UNKNOWN_MNEMONIC
java.lang.String getFacility()
java.lang.String getSubFacility()
int getSeverity()
void send(java.lang.String mnemonic)
void send(java.lang.String mnemonic, java.lang.String parameterName, java.lang.String parameterValue)
void send(java.lang.String mnemonic, ParameterList parameterList)